//
// Created by tang on 23-4-24.
//

#ifndef PIINFO_METHOD_HPP
#define PIINFO_METHOD_HPP

#include "types/type_info.hpp"

class Class;

class Method : public TypeInfo
{
public:
    Method(const Cursor& cursor, const Namespace& current_ns, Class* parent = nullptr);

    bool should_compile() const;

private:
    bool accessible() const;
    Class *parent_;
    std::string name_;
};

#endif  // PIINFO_METHOD_HPP
